#pragma once
#include "3DPoint.h"


class C3DTriangle
{
public:
	C3DTriangle(void);
	C3DTriangle(C3DPoint& p1,C3DPoint& p2,C3DPoint& p3);
	virtual ~C3DTriangle(void);

	C3DTriangle(const C3DTriangle&);
	C3DTriangle& operator=(const C3DTriangle&);

	C3DPoint m_point[3];
	C3DPoint m_normal;

	int m_texIndex;

	void CalculateNormal();
	

};
